/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapActivity.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月17日下午4:43:15
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(会议活动表)
 * @author lvxc
 * @date 2018年4月17日 下午4:43:15
 */
@Document(indexName = "dm_map_activity", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapActivity implements Serializable{
    private static final long serialVersionUID = 1L;
    
    @Id
    private String id;
    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;
    
    /**
     * @Fields address : TODO(详细地址)
     */
    @Field(type = FieldType.keyword)
    private String address;
    
    /**
     * @Fields city : TODO(城市)
     */
    @Field(type = FieldType.keyword)
    private String city;
    
    /**
     * @Fields content : TODO(内容)
     */
    @Field(type = FieldType.text)
    private String content;
    
    /**
     * @Fields end_time : TODO(结束时间)
     */
    @Field(type = FieldType.Date ,format= DateFormat.custom ,pattern = "yyyy-MM-dd")
    private String end_time;
    
    /**
     * @Fields home_url : TODO(官网链接)
     */
    @Field(type = FieldType.keyword)
    private String home_url;
    
    /**
     * @Fields icon_url : TODO(会议海报)
     */
    @Field(type = FieldType.keyword)
    private String icon_url;
    
    /**
     * @Fields ismedical : TODO(是否医健)
     */
    @Field(type = FieldType.keyword)
    private String ismedical;
    
    /**
     * @Fields labels : TODO(会议主题标签，用来判断是否相似，多个逗号隔开)
     */
    @Field(type = FieldType.keyword)
    private String labels;
    
    /**
     * @Fields name : TODO(名称标题)
     */
    @Field(type = FieldType.keyword)
    private String name;
    
    /**
     * @Fields province : TODO(省)
     */
    @Field(type = FieldType.keyword)
    private String province;
    
    /**
     * @Fields scale : TODO(规模)
     */
    @Field(type = FieldType.keyword)
    private String scale;
    
    /**
     * @Fields search_keywords : TODO(搜索关键词)
     */
    @Field(type = FieldType.keyword)
    private String search_keywords;
    
    /**
     * @Fields source : TODO(来源)
     */
    @Field(type = FieldType.keyword)
    private String source;
    
    /**
     * @Fields sponsor : TODO(主办方)
     */
    @Field(type = FieldType.keyword)
    private String sponsor;
    
    /**
     * @Fields start_time : TODO(开始时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom ,pattern="yyyy-MM-dd")
    private String start_time;
    
    /**
     * @Fields update_time : TODO(更新时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom ,pattern="yyyy-MM-dd")
    private String update_time;
    
    /**
     * @Fields weight_json : TODO(字段来源)
     */
    @Field(type = FieldType.Nested)
    private  List<WeightJson> weight_json;
    

}

